package com.eazy.lkv2.web.service.blog.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eazy.lkv2.web.entity.blog.Tag;
import com.eazy.lkv2.web.mapper.blog.TagMapper;
import com.eazy.lkv2.web.service.blog.TagService;
import com.rework.joss.persistence.convention.BaseDao;

@Service
public class TagServiceImpl extends BaseDao<Tag, Integer> implements TagService {

	@Autowired
	private TagMapper mapper;
	@Override
	public List<Tag> getTagList() {
		return queryByList(null);
	}

	@Override
	public List<Tag> getArticleTagList(String id) {
		return mapper.getArticleTagList(id);
	}

}
